package com.dao;

import com.entity.PageData;
import com.entity.Student;

import java.util.List;
import java.util.Map;

public interface IStudentDAO {
    List<Map<String,Object>> listAll();
    //插入方法
    int insert(Student student);
    //修改
    int update(Student student);

    PageData queryByPage(Integer pageNo, Integer pageSize);

    //删除:1     2,3,4 delete from student where studentId in ()
    int delete(String ids);
}
